package cn.tx.api.config;

/**
 * @author: 可乐加糖
 * @create: 2023-02-27 15:50
 * @Description: 服务停止：curl -X POST http://localhost:3333/actuator/shutdown
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ShutDownConfig {

    @Bean
    public TerminateBean getTerminateBean() {
        return new TerminateBean();
    }

}